import store from '@/store/index.js'

export default {
  methods: {
    checkPermission(point) {
      try {
        return store.state.user.userinfo.roles.points.includes(point)
      } catch (e) {
        return false
      }
    }
  }
}

